/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.assignment2.lspcorrect.ispimpl;

import za.ac.cput.assignment2.lspcorrect.Shape;

/**
 *
 * @author yandiswa
 */
public class Square implements Shape{
 int tSide;
    public Square(){}

    public void SetSide(int side) {
        tSide = side;
    }

    @Override
    public void width(int width) {
        tSide = width;
    }

    @Override
    public void length(int length) {
        tSide = length;
    }

    @Override
    public int Area() {
         return tSide * tSide;
    }
    
}
